﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DropsOfWater : MonoBehaviour
{
    private void OnTriggerEnter(Collider other)
    {
        if (other.name == "BeakerWater")
        {
            Beaker.m_FtNum++;
            if (Beaker.m_FtNum >= 1)
            {
                StepsManager.Instance.StepTwoNum[3] = true;
                StepsManager.Instance.SetStepTwo(3);
            }
            Destroy(gameObject);
        }
        if (other.name == "Ground")
            Destroy(gameObject);
    }
}
